{"version":3,"file":"block_preview_card.map.js","names":["BX","namespace","addClass","Landing","Utils","append","create","UI","Card","BlockPreviewCard","data","BaseCard","apply","this","arguments","layout","classList","add","mode","title","appExpired","app_expired","repoId","repo_id","imageSrc","image","code","favorite","favoriteMy","isNew","imageContainer","props","className","body","appendChild","header","innerText","dataset","requiresUpdates","requires_updates","text","Loc","getMessage","outerHTML","innerHTML","labels","insertAfter","getHeader","marketLabel","hint","hintNoIcon","Hint","init","blockId","split","length","Runtime","loadExtension","then","deleteMyButton","getRemoveButton","onclick","event","stopPropagation","Dialogs","MessageBox","show","message","buttons","MessageBoxButtons","YES_CANCEL","onYes","Backend","getInstance","action","mainInstance","Main","removeBlockFromList","catch","error","console","log","getBody","addWarning","onClickHandler","style","backgroundImage","src","attrs","overlay","children","html","prototype","constructor","__proto__"],"sources":["block_preview_card.js"],"mappings":"CAAC,WACA,aAEAA,GAAGC,UAAU,sBAEb,IAAIC,EAAWF,GAAGG,QAAQC,MAAMF,SAChC,IAAIG,EAASL,GAAGG,QAAQC,MAAMC,OAC9B,IAAIC,EAASN,GAAGG,QAAQC,MAAME,OAW9BN,GAAGG,QAAQI,GAAGC,KAAKC,iBAAmB,SAASC,GAE9CV,GAAGG,QAAQI,GAAGC,KAAKG,SAASC,MAAMC,KAAMC,WACxCD,KAAKE,OAAOC,UAAUC,IAAI,iCAE1BJ,KAAKK,YAAcR,EAAKQ,OAAS,SAAWR,EAAKQ,KAAO,MACxDL,KAAKM,aAAeT,EAAKS,QAAU,SAAWT,EAAKS,MAAQ,GAC3DN,KAAKO,kBAAoBV,EAAKW,cAAgB,UAAYX,EAAKW,YAAc,MAC7ER,KAAKS,OAASZ,EAAKa,SAAW,KAC9BV,KAAKW,gBAAkBd,EAAKe,QAAU,SAAWf,EAAKe,MAAQ,2CAC9DZ,KAAKa,YAAchB,EAAKgB,OAAS,SAAWhB,EAAKgB,KAAO,GACxDb,KAAKc,SAAWjB,EAAKiB,SACrBd,KAAKe,WAAalB,EAAKkB,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